@layout("/common/_form.html",{js:["/assets/information/information_add.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="userForm" lay-filter="userForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
    <input name="type" id="type" type="hidden" class="layui-input"/> 
    <input name="url" id="url" type="hidden" class="layui-input"/> 
    <textarea style="display: none;" id="contex" class="layui-textarea"></textarea>
        <div class="layui-card">
            <div class="layui-card-body">
            	<div class="layui-card-header">资讯标题</div>
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">标题<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                              <textarea placeholder="请填写标题" id="informationTitle" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                       <div class="layui-upload" style="padding-left: 65px;">
						  <button type="button" class="layui-btn" id="test1">资讯首图上传</button>
						  <div class="layui-upload-list">
						    <img style="width: 120px;height: 120px;" class="layui-upload-img" id="demo1">
						  </div>
						</div> 
                    </div>
            <!--         <div class="layui-inline layui-col-md12">
                       <div class="layui-upload">
						  <button type="button" class="layui-btn" id="test2">图片上传</button> 
						  <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
						   	 预览图：
    						<div class="layui-upload-list" id="demo3"></div>
 							</blockquote>
					    </div>
                    </div> -->
                </div>
                <div class="layui-card-header">资讯内容 <font style="float: right;"> <button type="button" lay-filter="addFile" id="addFile" class="layui-btn layui-btn-normal">+添加内容</button></font></div>
                <div  id="divfile">
                
                </div>
                <div class="layui-form-item layui-row" style="display: none;">
               				 <select name="statuss" lay-filter="statuss" id="statuss">
	                             <option value="1">图片</option>
	                             <option value="2">音频</option>
	                             <option value="3">视频</option>
	                         </select>
                	<!-- <input name="keys" id="keys" lay-filter="keys" type="text" class="layui-input"/> -->
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" style="background-color: #01aaed;" lay-filter="btnSubmit" lay-submit>&emsp;发布&emsp;</button>
        <button class="layui-btn" lay-filter="btnSubmits" lay-submit>&emsp;保存&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}
